import logging

def log_log():
    logging.basicConfig(filename='log.log',filemode='w',level=logging.DEBUG,format='%(filename)s --%(msecs)d --%(message)s')